function SwitchPanel(obj,name,type) {
    if(type === 'phone') {
        $('.homepage_btn_phone').find('.layui-nav-child').hide();
        $('.layui-col-md10').animate({'marginLeft':'0px','width':'unset'},100)
    } else {
        $(obj).addClass('nav_list_hover').siblings().removeClass('nav_list_hover')
    }
    switch (name) {
        case "mydraft":
            document.getElementById("Content").src = "MyDraft.html";
            break;
        case "myapp":
            document.getElementById("Content").src = "MyApplication.html";
            break;
        case "mymod":
            document.getElementById("Content").src = "MyModel.html";
            break;
        case "mydata":
            document.getElementById("Content").src = "MyData.html";
            break;
        case "mystyle":
            document.getElementById("Content").src = "MyStyle.html";
            break;
        case "mycollect":
            document.getElementById("Content").src = "MyCollect.html";
            break;
        case "personalData":
            document.getElementById("Content").src = "personalData.html";
            break;
    }
}